/**
 * Created by John on 2016/5/19.
 */
var res = db.query('SELECT * from some_table');
res.output();


var res = db.query("SELECT * from some_table", function (res) {
    res.output();
})